import { ApiProperty } from '@nestjs/swagger';
import { PaginatedResponseDto } from '../../common/dto/pagination.dto';
import { TaskResponseDto } from './task-response.dto';

/**
 * Paginated task response DTO
 * Extends the generic paginated response for Task response DTOs
 */
export class PaginatedTaskResponseDto extends PaginatedResponseDto<TaskResponseDto> {
  @ApiProperty({
    description: '任务列表',
    type: [TaskResponseDto],
  })
  data: TaskResponseDto[];
}
